//
//  SEGActivityDetailCommentAnswModel.m
//  ExcellentHome
//
//  Created by 揭婧雯 on 2017/8/8.
//  Copyright © 2017年 陈区. All rights reserved.
//

#import "SEGActivityDetailCommentAnswModel.h"

@implementation SEGActivityDetailCommentAnswModel

- (instancetype)initWithDictionary:(NSDictionary*)dictionary
{
    self = [super init];
    if (self) {
        _isPraise = @"";
        _quizId = @"";
        _answNick = @"";
        _answId = @"";
        _byReviewNick = @"";
        _communityId = @"";
        _isAuth = @"";
        _byReviewId = @"";
        _pariseTotal = @"";
        _answContent = @"";
        _userId = @"";
        _createTime = @"";
        _iconUrl = @"";
        _communityName = @"";
        [self setValuesForKeysWithDictionary:dictionary];
    }
    return self;
}
+ (instancetype)initWithDictionary:(NSDictionary*)dictionary
{
    return [[self alloc] initWithDictionary:dictionary];
}
- (void)setValue:(id)value forUndefinedKey:(NSString*)key
{}
- (void)setIsPraise:(NSString*)isPraise{
    _isPraise = [[SEGUtils ValueToString:isPraise]copy];
}
- (void)setQuizId:(NSString*)quizId{
    _quizId = [[SEGUtils ValueToString:quizId]copy];
}
- (void)setAnswNick:(NSString*)answNick{
    _answNick = [[SEGUtils ValueToString:answNick]copy];
}
- (void)setAnswId:(NSString*)answId{
    _answId = [[SEGUtils ValueToString:answId]copy];
}
- (void)setByReviewNick:(NSString*)byReviewNick{
    _byReviewNick = [[SEGUtils ValueToString:byReviewNick]copy];
}
- (void)setCommunityId:(NSString*)communityId{
    _communityId = [[SEGUtils ValueToString:communityId]copy];
}
- (void)setIsAuth:(NSString*)isAuth{
    _isAuth = [[SEGUtils ValueToString:isAuth]copy];
}
- (void)setByReviewId:(NSString*)byReviewId{
    _byReviewId = [[SEGUtils ValueToString:byReviewId]copy];
}
- (void)setPariseTotal:(NSString*)pariseTotal{
    _pariseTotal = [[SEGUtils ValueToString:pariseTotal]copy];
}
- (void)setAnswContent:(NSString*)answContent{
    _answContent = [[SEGUtils ValueToString:answContent]copy];
}
- (void)setUserId:(NSString*)userId{
    _userId = [[SEGUtils ValueToString:userId]copy];
}
- (void)setCreateTime:(NSString*)createTime{
    _createTime = [[SEGUtils ValueToString:createTime]copy];
}
- (void)setIconUrl:(NSString*)iconUrl{
    _iconUrl = [[SEGUtils ValueToString:iconUrl]copy];
}
- (void)setCommunityName:(NSString*)communityName{
    _communityName = [[SEGUtils ValueToString:communityName]copy];
}

@end
